package com.demo1.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class hello {

    @RequestMapping("hi")
    public String hi() {
        return "Spring Boot1!";
    }
}